package com.mald.plugin.component;

import com.intellij.openapi.components.ApplicationComponent;
import com.mald.plugin.data.DataProcessor;

public class MyApplicationComponent implements ApplicationComponent {

    @Override
    public void initComponent() {
        System.out.println("容器开始初始化");
        try {
            DataProcessor.reload();
        } catch (Exception e) {
            e.printStackTrace();
        }
        System.out.println("插件数据加载完成");
    }
}
